package com.example.seakdreamandroid.entity;

import android.app.Application;

import java.sql.Date;
import java.util.List;

public class User extends Application {
    private String userId;
    private List<AudioInfo> whitehistory;
    private String if_vip;
    private boolean freeIsPlay;
    private boolean MSPIsPlay;
    private boolean whiteNoiseIsPlay;
    private boolean replayFlag;
    private boolean end;
    private String vipTime;
    private boolean historyPlay;
    private Integer points;
    private String audioUrl;
    private String audioId;
    private String audioName;
    private String audioAuthor;

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getAudioId() {
        return audioId;
    }

    public void setAudioId(String audioId) {
        this.audioId = audioId;
    }

    public String getAudioName() {
        return audioName;
    }

    public void setAudioName(String audioName) {
        this.audioName = audioName;
    }

    public String getAudioAuthor() {
        return audioAuthor;
    }

    public void setAudioAuthor(String audioAuthor) {
        this.audioAuthor = audioAuthor;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getVipTime() {
        return vipTime;
    }

    public void setVipTime(String vipTime) {
        this.vipTime = vipTime;
    }

    public boolean isEnd() {
        return end;
    }

    public String getIf_vip() {
        return if_vip;
    }

    public void setIf_vip(String if_vip) {
        this.if_vip = if_vip;
    }

    public void setEnd(boolean end) {
        this.end = end;
    }

    private List<AudioInfo> historyAudios;

    public boolean isHistoryPlay() {
        return historyPlay;
    }

    public void setHistoryPlay(boolean historyPlay) {
        this.historyPlay = historyPlay;
    }

    public List<AudioInfo> getHistoryAudios() {
        return historyAudios;
    }

    public void setHistoryAudios(List<AudioInfo> historyAudios) {
        this.historyAudios = historyAudios;
    }

    public boolean isReplayFlag() {
        return replayFlag;
    }

    public void setReplayFlag(boolean replayFlag) {
        this.replayFlag = replayFlag;
    }

    public boolean isWhiteNoiseIsPlay() {
        return whiteNoiseIsPlay;
    }

    public void setWhiteNoiseIsPlay(boolean whiteNoiseIsPlay) {
        this.whiteNoiseIsPlay = whiteNoiseIsPlay;
    }

    public boolean isMSPIsPlay() {
        return MSPIsPlay;
    }

    public void setMSPIsPlay(boolean MSPIsPlay) {
        this.MSPIsPlay = MSPIsPlay;
    }

    public boolean isFreeIsPlay() {
        return freeIsPlay;
    }

    public void setFreeIsPlay(boolean freeIsPlay) {
        this.freeIsPlay = freeIsPlay;
    }

    public List<AudioInfo> getWhitehistory() {
        return whitehistory;
    }

    public void setWhitehistory(List<AudioInfo> whitehistory) {
        this.whitehistory = whitehistory;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", whitehistory=" + whitehistory +
                ", if_vip='" + if_vip + '\'' +
                ", freeIsPlay=" + freeIsPlay +
                ", MSPIsPlay=" + MSPIsPlay +
                ", whiteNoiseIsPlay=" + whiteNoiseIsPlay +
                ", replayFlag=" + replayFlag +
                ", end=" + end +
                ", vipTime='" + vipTime + '\'' +
                ", historyPlay=" + historyPlay +
                ", points=" + points +
                ", historyAudios=" + historyAudios +
                '}';
    }
}
